package com.coderknock.homework.ioc;

import jodd.props.Props;

import java.io.IOException;

/**
 * <p>加载配置信息</p>
 *
 * @author 三产
 * @version 1.0
 * @date 2017-06-21
 * @QQGroup 213732117
 * @website http://www.coderknock.com
 * @copyright Copyright 2017 拿客 coderknock.com  All rights reserved.
 * @since JDK 1.8
 */
public class Configer {
    public static final Props props = new Props();

    static {
        try {
            props.load(ClassLoader.getSystemResourceAsStream("config.props"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
